import axios from 'axios';
import { ALL_SERVICE_API } from '../api';

// 修改重泡比区间
export const updateStmHeavyRatioInterval = params => {
  return axios.post(ALL_SERVICE_API + '/heavy-ratio-intervals', params);
};

// 获取重泡比区间
export const getStmHeavyRatio = params => {
  return axios.get(ALL_SERVICE_API + '/heavy-ratio-intervals', {params: params});
};
